/**
 * Created by JIANGLU009 on 2017/11/6.
 */
package com.cqfae.deploycentral.app.services;

import com.cqfae.deploycentral.app.dao.entity.FileSyncDetail;
import com.cqfae.deploycentral.app.web.request.FileSyncRequest;
import com.cqfae.deploycentral.app.web.vo.FileSyncDetailVo;

import java.util.List;

public interface FileSyncDetailService {

    /**
     * 新增
     *
     * @param fileSyncDetail
     * @return
     */
    Integer add(FileSyncDetail fileSyncDetail);

    /**
     * 批量删除详情
     *
     * @param fileSyncId
     * @return
     */
    Integer deleteByFileSyncId(String fileSyncId);

    /**
     * 链表查询
     *
     * @param request
     * @return
     * @throws Exception
     */
    List<FileSyncDetailVo> list(FileSyncRequest request);

    /**
     * 文件同步回调
     *
     * @param fileSyncDetailVo
     * @return
     */
    Integer detailCallBack(FileSyncDetailVo fileSyncDetailVo);

}
